package com.cq.hd.product.api.dto;

import com.cq.hd.common.serialize.Decimal2Serializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class ActiveStepPriceSonDto implements Serializable {

    @ApiModelProperty(value = "活动id")
    private Long activeId;

    @ApiModelProperty(value = "活动限制的报名人数")
    private Integer enrollNum;

    @ApiModelProperty(value = "报名价格")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal enrollPrice;

}
